notebook: Fix wrong tab widgets allocation
authorTimm Bäder <mail@baedert.org>
Thu, 4 Jan 2018 20:38:22 +0000 (21:38 +0100)
committerTimm Bäder <mail@baedert.org>
Thu, 4 Jan 2018 20:41:35 +0000 (21:41 +0100)
Since we allocate the tab widgets on demand, we have to queue an extra
resize here.

gtk/gtknotebook.c

index 2a2e8a837a941241c2610ebfb23d934775507083..08b7b3764cd4e7bbef5fd1cf998ac2bfc3466e56 100644 (file)
@@ -5425,6 +5425,7 @@ gtk_notebook_real_switch_page (GtkNotebook     *notebook,
   update_arrow_state (notebook);
 
   gtk_widget_queue_resize (GTK_WIDGET (notebook));
+  gtk_widget_queue_resize (priv->tabs_widget);
   g_object_notify_by_pspec (G_OBJECT (notebook), properties[PROP_PAGE]);
 }